package cn.kimming.wms.domain;

import java.math.BigDecimal;

import lombok.Getter;
import lombok.Setter;

//采购订单明细
public class OrderBillItem extends BaseDomain{
	@Getter @Setter
	private Product product;	//对应货品
	@Getter @Setter
	private BigDecimal costPrice;	//采购成本价(不一定是货品的成本价)
	@Getter @Setter
	private BigDecimal number;	//采购数量
	@Getter @Setter
	private BigDecimal amount;	//小计
	@Getter @Setter
	private String remark;	//备注
	
	@Getter @Setter
	private OrderBill bill;

	@Override
	public String toString() {
		return "OrderBillItem [product=" + product + ", costPrice=" + costPrice + ", number=" + number + ", amount="
				+ amount + ", remark=" + remark + "]";
	}
	
}
